const Mock = require('mockjs')

module.exports = Mock.mock({
  "banners": [
    'https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/155893318837c2a613df8c1622d21bcb.jpg?f=webp&w=1080&h=540&bg=0',
    'https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/9acffb2d64356cd8d45ec73cdeada24f.png?f=webp&w=1080&h=540&bg=22',
    'https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/f56296dfad1d9948edcc35cc423bd5b8.jpg?f=webp&w=1080&h=540&bg=F0E0C7',
    'https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/31f8b4929a7733000fd8e7ad519b3fb9.png?f=webp&w=1080&h=540&bg=0'
  ],
  "menus|10": [{
    "image": "https://robohash.org/@id?sets=set@integer(1,4)",
    "title": "@ctitle(2)",
    "id|+1": 1
  }],
  "lists|10000": [{
    "id": "@id",
    "title": "@ctitle",
    "word": "@cword(10, 20)",
    "images|4-10": ["@image(120x80, @color, item)"],
    "price|10-1000": 1
  }]
})